
export function statusFormat(row, column) {
  let status = row.status;
  switch (status){
    case 0:
      status = '未审核';
      break;
    case 1:
      status = '审核通过';
      break;
    case 2:
      status = '审核未通过';
      break;
  }
  return status
}
export function typeFormat(row, column) {
  let status = row.type;
  switch (status){
    case "1":
      status = '医院新闻';
      break;
    case "2":
      status = '科室动态';
      break;
    case "6":
      status = '停诊通知';
      break;
    case "3":
      status = '医务公开';
      break;
    case "5":
      status = '职工文化';
      break;
    case "7":
      status = '园地护理';
      break;
    case "8":
      status = '党群工作';
      break;
    case "9":
      status = '纪律检查';
      break;
    case "10":
      status = '公共卫生';
      break;
    case "11":
      status = '通知公告';
      break;
    case "12":
      status = '媒体聚焦';
      break;
    case "13":
      status = '信息公开';
      break;
    case "14":
      status = '廉政监督';
      break;
    case "15":
      status = '规章文件';
      break;
    case "16":
      status = '党建工作';
      break;
    case "17":
      status = '专科知识';
      break;
  }
  return status
}
export  function isKeyDepartment(row, column) {
  let status = row.status;
  switch (status){
    case 0:
      status = '否';
      break;
    case 1:
      status = '是';
      break;

  }
  return status
}
